package com.system.model;

import java.io.Serializable;
import java.util.Date;

public class Buy implements Serializable {
    private Integer buyId;

    private String buyNumber;

    private String productName;

    private String buyAmount;

    private String buyMoney;

    private Date buyDate;

    private String buyState;

    private static final long serialVersionUID = 1L;

    public Integer getBuyId() {
        return buyId;
    }

    public void setBuyId(Integer buyId) {
        this.buyId = buyId;
    }

    public String getBuyNumber() {
        return buyNumber;
    }

    public void setBuyNumber(String buyNumber) {
        this.buyNumber = buyNumber == null ? null : buyNumber.trim();
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public String getBuyAmount() {
        return buyAmount;
    }

    public void setBuyAmount(String buyAmount) {
        this.buyAmount = buyAmount == null ? null : buyAmount.trim();
    }

    public String getBuyMoney() {
        return buyMoney;
    }

    public void setBuyMoney(String buyMoney) {
        this.buyMoney = buyMoney == null ? null : buyMoney.trim();
    }

    public Date getBuyDate() {
        return buyDate;
    }

    public void setBuyDate(Date buyDate) {
        this.buyDate = buyDate;
    }

    public String getBuyState() {
        return buyState;
    }

    public void setBuyState(String buyState) {
        this.buyState = buyState == null ? null : buyState.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", buyId=").append(buyId);
        sb.append(", buyNumber=").append(buyNumber);
        sb.append(", productName=").append(productName);
        sb.append(", buyAmount=").append(buyAmount);
        sb.append(", buyMoney=").append(buyMoney);
        sb.append(", buyDate=").append(buyDate);
        sb.append(", buyState=").append(buyState);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}